﻿package com.zouloux.events 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author ZoulouX
	 */
	public class ScrollEvent extends Event 
	{
		// Les différents types
		public static var SCROLL:String = "scroll";
		
		// Les variables
		public var position:Number;
		
		// Le constructeur
		public function ScrollEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			
		}
		public override function clone():Event 
		{ 
			return new ScrollEvent(type, bubbles, cancelable);
		}
		public override function toString():String 
		{ 
			return formatToString("ScrollEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
	}
}